import request from '@/utils/request'

export function add(data) {
  return request({
    url: '/docu-induce',
    method: 'post',
    data
  })
}

export function update(data) {
  return request({
    url: '/docu-induce',
    method: 'put',
    data
  })
}

// 分页
export function page(data) {
  return request({
    url: '/docu-induce',
    method: 'get',
    params: data
  })
}

export function queryById(id) {
  return request({
    url: '/docu-induce/' + id,
    method: 'get'
  })
}

export function deleteById(id) {
  return request({
    url: '/docu-induce/' + id,
    method: 'delete'
  })
}
